<layout name="layout" />
<div id="right_content">
  <h2>User List</h2>
  <table id="rounded-corner">
    <thead>
      <tr>
        <!--<th width="90"></th>-->
        <th width="119">이름</th>
        <th width="110">고객상담id</th>
        <th width="158">전화번호</th>
        <th width="92">레벨</th>
        <th width="256">save</th>
        <th width="256">회원 리스트</th>
        <th width="256">delete</th>
      </tr>
    </thead>
    <tfoot>
      <tr>
        <td colspan="12">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut.</td>
      </tr>
    </tfoot>
    <tbody>
      <td height="6"><foreach name='list' item='v'>
        <if condition="(($v.id % 2) eq 1) ">
            <tr class="odd">
        <else />
    <tr class="even">
        </if>
        <form action="{:U('Home/Customer/changeUserLevelDo/')}" method="post">
        <input name="id" type="hidden" value="{$v.id}" />
      <!-- <td><input type="checkbox" name="input" /></td> -->
            <td>{$v.uname}</td>
            <td>{$v.uid}</td>
            <td>{$v.utel}</td>
            <td><input name="ulevel" type="text" value="{$v.ulevel}" size="5" maxlength="3" /></td>
            <td width="16"><input name="save" type="submit" /></td>
      <td width="16"><a href="{:U('Home/Customer/showCustomerList/p/1')}/kfid/{$v.uid}">customer</a></td>
      <td width="16"><a href="{:U('Home/Customer/deleteUser')}/kfid/{$v.uid}">delete</a></td>
        </form>
   	</tr>
        <!-- <th>{$v.addtime|date='y-m-d H:i',###}</th>-->
  		</foreach>

    </tbody>
  </table>
  <div class="form_sub_buttons">
  <!-- <a href="#" class="button green">Edit selected</a> <a href="#" class="button red">Delete selected</a> --></div>
  <div class="meneame">{$page}</div>
  <div class="toogle_wrap"></div>
</div>

